package com.shou.infrastructure.persistent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shou.infrastructure.persistent.po.ParkingRecordPO;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* @author Nemo
* @description 针对表【parkingrecord(停车记录表，记录车辆的进出信息)】的数据库操作Mapper
* @createDate 2025-02-07 22:10:51
* @Entity generator.domain.Parkingrecords
*/
@Mapper
public interface IParkingRecordDao extends BaseMapper<ParkingRecordPO> {
    void insertSelective(ParkingRecordPO parkingRecordPO);

    void updateByPrimaryKeySelective(ParkingRecordPO parkingRecordPO);

    IPage<ParkingRecordPO> selectPageMessageByCondition(Page<ParkingRecordPO> page, Integer userId, String parkingSpaceCode, LocalDateTime startTime, LocalDateTime endTime, BigDecimal cost, String status, String remark, String sortName, Integer sort);
}




